package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfWxMenuDao;
import com.wfcm.entity.WfWxMenuEntity;
import com.wfcm.service.WfWxMenuService;



@Service("wfWxMenuService")
public class WfWxMenuServiceImpl implements WfWxMenuService {
	@Autowired
	private WfWxMenuDao wfWxMenuDao;
	
	@Override
	public WfWxMenuEntity queryObject(Integer id){
		return wfWxMenuDao.queryObject(id);
	}

	@Override
	public WfWxMenuEntity queryContent(String key) {
		return wfWxMenuDao.queryContent(key);
	}

	@Override
	public List<WfWxMenuEntity> queryList(Map<String, Object> map){
		return wfWxMenuDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfWxMenuDao.queryTotal(map);
	}
	
	@Override
	public void save(WfWxMenuEntity wfWxMenu){
		wfWxMenuDao.save(wfWxMenu);
	}
	
	@Override
	public void update(WfWxMenuEntity wfWxMenu){
		wfWxMenuDao.update(wfWxMenu);
	}
	
	@Override
	public void delete(Integer id){
		wfWxMenuDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfWxMenuDao.deleteBatch(ids);
	}
	
}
